﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Wekit.Web.Models;

namespace Wekit.Controllers.Admin
{
    public class HomeController : Controller
    {
        /// <summary>
        /// 后台首页
        /// </summary>
        /// <returns></returns>
        public ActionResult Index()
        {
           
            return View();
        }

        /// <summary>
        /// 后台登录页面
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        public ActionResult LogOn()
        {
            return View();
        }

        /// <summary>
        /// 登陆提交页面
        /// </summary>
        /// <param name="loginModel"></param>
        /// <returns></returns>
        [HttpPost]
        public ActionResult LogOn(LogOnModel loginModel)
        {
            return View();
        }


        /// <summary>
        /// 后台管理员登出页面
        /// </summary>
        /// <returns></returns>
        public ActionResult LogOut()
        {
            return View();
        }
    }
}
